package top.shaoxia.pwdm.pojo;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.util.StringJoiner;

/**
 * @author wjc
 * @date 2022/2/19
 */
@Table("PWDM_FOLDER")
public class PwdmFolderDO {
    @Id
    private Integer id;
    private String name;
    private Integer sn; //排序号

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSn() {
        return sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", PwdmFolderDO.class.getSimpleName() + "[", "]")
                .add("id=" + id)
                .add("name='" + name + "'")
                .add("sn=" + sn)
                .toString();
    }
}
